import { defineConfig } from 'vite';
import uni from '@dcloudio/vite-plugin-uni';

export default defineConfig({
	plugins: [uni()],
	devServer:{
		disableHostCheck:true,
		proxy:{
			'/ws':{
				target:'https://apis.map.qq.com',
				changeOrigin:true,
				pathRewrite:{
					'^/mapapi': ''
				}
			}
		}
	}
});
